.filter {
  .main {
    display: flex;
    .rem(44);
  }
  .filter-list {
    flex-shrink: 0;
    width: 25%;
    border-right: 1px solid @green;

    .item {
      position: relative;
      padding-left: 52em / 44;
      margin: 0.5em 0;
      line-height: 2;

      &.active {
        color: @green;

        &::before {
          content: ' ';
          overflow: hidden;
          position: absolute;
          top: 0;
          bottom: 0;
          left: 0.5em;
          width: 0;
          height: 0;
          margin: auto;
          border: 0.5em dashed transparent;
          border-left: 0.5em solid @green;
        }
      }
    }
  }
  .filter-con {
    flex: 1;
    overflow-y: auto;
    padding: 0.5em 1em;

    .tit {
      margin-top: 0.3em;

      &:not(:first-child) {
        margin-top: 1em;
      }
    }
  }

  .con {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .con-item {
    margin-top: 0.5em;
    flex: 1;

    display: flex;
    align-items: center;

    white-space: nowrap;
  }

  input[type='checkbox'] {
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    margin-right: 0.5em;
    border-radius: 0;
    border: 1px solid currentColor;
  }

  select,
  input[type='text'] {
    height: 1.8em;
    padding: 0 0.2em;
    border: 1px solid @gray;
  }
  input[type='text'] {
    width: 4em;
  }
  .sep {
    margin: 0 0.5em;
  }
}
